import request from "@/utils/request";

//文化名片精选推荐接口//
export const culturalFeaturedApi = (params) => {
  return request({
    url: "/v1/cultural/featured/get",
    method: "get",
    params,
  });
};
//文化名片分类接口
export const culturalClassAPi = (params) => {
  return request({
    url: "/v1/cultural/class/get",
    method: "get",
    params,
  });
};
//文化名片列表接口
export const culturalPressesApi = (params) => {
  return request({
    url: "/v1/cultural/presses/get",
    method: "get",
    params,
  });
};

//报刊社详情
export const culturalDetailsApi = (params) => {
  return request({
    url: "/v1/cultural/detail",
    method: "get",
    params,
  });
};
//关注/取消关注报刊社接口
export const culturalFollowedApi = (params) => {
  return request({
    url: "/v1/cultural/followed/press",
    method: "get",
    params,
  });
};
//报刊社主页模块列表接口
export const culturalMOdelApi = (params) => {
  return request({
    url: "/v1/cultural/press/model",
    method: "get",
    params,
  });
};

//文化名片-报刊社首页banner列表
export const pressBannerApi = (params) => {
  return request({
    url: "/v1/common/press/banner/list",
    method: "get",
    params,
  });
};
//视频详情接口
export const videoDetail = (data) => {
  return request({
    url: "/v1/cultural/video/get",
    method: "get",
    params: data,
  });
};

//视频播放次数
export const videoCount = (data) => {
  return request({
    url: "/v1/cultural/video/count",
    method: "post",
    data,
  });
};
//视频播放时长
export const videoTime = (data) => {
  return request({
    url: "/v1/cultural/video/time",
    method: "post",
    data,
  });
};
//文化市集下——发行纸刊列表接口
export const $_journalApi = (params) => {
  return request({
    url: "/v1/cultural/journal/list",
    method: "get",
    params,
  });
};
//文化市集下——数据库列表接口
export const $_databaseApi = (params) => {
  return request({
    url: "/cultural/database/list",
    method: "get",
    params,
  });
};
//文化市集下——文创周边列表接口
export const $_creativeApi = (params) => {
  return request({
    url: "/v1/cultural/creative/list",
    method: "get",
    params,
  });
};
//文化市集下——ip列表接口
export const $_ipApi = (params) => {
  return request({
    url: "/v1/cultural/ip/list",
    method: "get",
    params,
  });
};
// 活动列表
export const $_activity_list = (params) => {
  return request({
    url: "/v1/cultural/activity/list",
    method: "get",
    params,
  });
};
// 专栏下——专栏类型列表接口
export const $_column_type_list = (params) => {
  return request({
    url: "/v1/cultural/column/type/list",
    method: "get",
    params,
  });
};
// 专栏下——专栏列表接口
export const $_column_list = (params) => {
  return request({
    url: "/v1/cultural/column/list",
    method: "get",
    params,
  });
};
// 报刊社详情页下专栏合集接口
export const $_collection_list = (params) => {
  return request({
    url: "/v1/cultural/collection/list",
    method: "get",
    params,
  });
};
// 报刊社风采
export const $_showcase_list = (params) => {
  return request({
    url: "/v1/cultural/showcase/list",
    method: "get",
    params,
  });
};
